#pragma once
#include "State.h"

class StateFactory
{
private:
	StateFactory();

public:
	static StateFactory& GetInstance()
	{
		static StateFactory s_inst;
		return s_inst;
	}

	State* GetStateByType(STATE_TYPE eType);

private:
	State* m_apStateList[STATE_TYPE_MAX];
};

#define SF StateFactory::GetInstance()